﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Share.Bonnet.Pager {

    /// <summary>
    /// IPagerData
    /// 
    /// Used to feed to Pager. Act's as the data wrapper
    /// </summary>
    public interface IPagerData {

        /// <summary>
        /// The page number being displayed
        /// </summary>
        int Current { get; }

        /// <summary>
        /// The total amount of pages in the collection
        /// </summary>
        int Total { get; }

        /// <summary>
        /// The amount of items per page
        /// </summary>
        int PerPage { get; }
    }
}
